package com.jinbo.footmessage;

import com.jinbo.footmessage.httpbean.WorkerInformationBean;

import java.util.Comparator;

public class StarComparator implements Comparator<WorkerInformationBean> {

	public int compare(WorkerInformationBean o1, WorkerInformationBean o2) {
		if (o1.getStar()> o2.getStar())
			return -1;
		else
			return 1;
	}

}
